package top.linyuxb.lycloud.gateway.starter.annotation;

import java.lang.annotation.*;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/6/3 17:51
 * @Desc: 网关登入权限标注，该注解标注的请求，不需要aad登入
 */
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface LyGatewayAccess {
    /**
     * 默认拥有绕过登入鉴权的能力
     *
     * @return
     */
    boolean value() default true;
}
